export let contentTableConfig = {
  handleUser: "新建菜单",
  //标题
  title: "菜单管理",
  //显示选中栏
  showSelectColumn: false,
  //添加表格序号
  showIndexColumn: false,
  //展开菜单
  childrenProps: {
    rowkey: "id",
    treeProp: {
      children: "children",
    },
  },
  //显示页脚
  showFooter:false,
  propList: [
    { prop: "name", label: "菜单名称", minWhidth: "80" },
    { prop: "type", label: "菜单类型", minWhidth: "80" },
    { prop: "url", label: "菜单路径", minWhidth: "80" },
    { prop: "icon", label: "菜单图标", minWhidth: "80" },
    { prop: "permission", label: "按钮权限", minWhidth: "80" },
    {
      prop: "createAt",
      label: "创建时间",
      minWhidth: "250",
      slotName: "createAt",
    },
    {
      prop: "updateAt",
      label: "更新时间",
      minWhidth: "250",
      slotName: "updateAt",
    },
    { label: "操作", minWidth: "120", slotName: "handler" },
  ],
};
